﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.Day;
namespace Benefit.Interface.View
{
    public interface IGroupDayAvg
    {
        /// <summary>
        /// 获取小组均值
        /// </summary>
        /// <param name="operatorid"></param>
        /// <param name="week"></param>
        /// <param name="month"></param>
        /// <param name="year"></param>
        /// <returns></returns>
        GroupAvgDay GetGroupAvg(int groupid, int tradeHistoryId);



        /// <summary>
        /// 初始化小组均值
        /// </summary>
        /// <param name="operatorid"></param>
        /// <param name="week"></param>
        /// <param name="month"></param>
        /// <param name="year"></param>
        /// <returns></returns>
        void InitGroupAvg(int tradeHistoryId);


        void Delete(int tradeHistoryId);
    }
}
